package com.itheima.stock;

import com.itheima.stock.pojo.vo.TaskThreadPoolInfo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;


@SpringBootApplication
//这里是sktock_common工程的
@MapperScan("com.itheima.stock.mapper")//扫描持久层的接口，生成代理对象，并扫描扫ioc 批量扫描（也可以在mappwe接口使用mapper注解）
@EnableConfigurationProperties(TaskThreadPoolInfo.class)
public class JobAppl {
    public static void main(String[] args) {
        SpringApplication.run(JobAppl.class, args);
    }
}
